package com.example.day15;

import java.util.LinkedHashSet;

/**
 * @author Lenovo
 */
public class LinkedHashSetDemo {
    public static void main(String[] args) {
        LinkedHashSet<String> linkedHashSet = new LinkedHashSet<String>();
        linkedHashSet.add("林青霞");
        linkedHashSet.add("张曼玉");
        linkedHashSet.add("王祖蓝");
        linkedHashSet.add("柳岩");
        for (String s : linkedHashSet){
            System.out.println(s);
        }
    }
}
